package com.soar.recruitment.module.launcher.ui.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.soar.recruitment.R;
import com.soar.recruitment.common.ui.activity.SOARMainBaseActivity;
import com.soar.recruitment.common.ui.view.SystemBarHelper;
import com.soar.recruitment.module.launcher.ui.fragment.MainFragment;


public class MainActivity extends SOARMainBaseActivity {

    @Override
    public int initLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void initVariable() {
        // Status bar
        SystemBarHelper.tintStatusBar(this, getResources().getColor(R.color.app_color));
        //SystemBarHelper.setStatusBarDarkMode(this);
    }

    @Override
    public void initView(@Nullable Bundle savedInstanceState) {
        if (savedInstanceState == null) {
            loadRootFragment(R.id.fl_main_container, MainFragment.newInstance());
        }
    }

    @Override
    public void initData() {

    }
}
